﻿@model EM.OA.Portal.Models.ProjectChatModels
@{
    Layout = "~/Views/Shared/_LayoutContent.cshtml";
}
<script type="text/javascript" src="~/Scripts/page/Project/ProjectChat.js"></script>
<div>
    <a href="#" class="easyui-linkbutton" iconcls="icon-add" plain="true" onclick="add()">发布留言</a>

    @*list*@
    @*<table id="listChat" class="easyui-datagrid">
    </table>*@
    @*Detail*@
    <div id="dlg" class="easyui-dialog" style="width: 350px; height: 300px; padding: 10px 20px"
        closed="true" buttons="#dlg-buttons-chat" modal="true" resizable="true">
        <div id="dlg-buttons-chat">
            <a href="#" class="easyui-linkbutton" iconcls="icon-ok" onclick="save()">保存</a>
            <a href="#" class="easyui-linkbutton" iconcls="icon-cancel" onclick="javascript:$('#dlg').dialog('close')">取消</a>
        </div>
        <form id="fmChat" method="post">
            @Html.HiddenFor(m => m.ProjectChatID)
            <div>
                @Html.LabelFor(m => m.ChatTitle)
                <input name="ChatTitle" class="easyui-validatebox" data-options="required:true,validType:'length[1,200]'">
            </div>
            <div>
                @Html.LabelFor(m => m.ChatContent)
                <input name="ChatContent" class="easyui-validatebox" data-options="required:true,validType:'length[1,0]'">
            </div>
        </form>
    </div>

</div>
